	/** 
	 * Copyright 2011 Noranj LTD
	 *
	 */
package com.noranj.web.client;

import com.google.gwt.core.client.GWT;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.Widget;

public class FolderItem extends Composite {

	private static FolderItemUiBinder uiBinder = GWT
			.create(FolderItemUiBinder.class);

	interface FolderItemUiBinder extends UiBinder<Widget, FolderItem> {
	}


  @UiField
  Label folderItemLabel;
  
	public FolderItem() {
		initWidget(uiBinder.createAndBindUi(this));
	}
	
	public FolderItem(String itemTitle) {
		this();
		this.folderItemLabel.setText(itemTitle);
	}
	
}
